TBODYNN n/a   IE 4   DOM 1

The TBODY object reflects the TBODY element. By default, Internet Explorer creates a TBODY object for every table, but you can access its properties and methods only if you explicitly create a TBODY element (or access it via the tBodies[] collection of a table in the Win32 version). Note that the innerHTML, innerText, and outerHTML properties are not available on the Macintosh version of Internet Explorer 4.

 
HTML Equivalent
<TBODY>
 
Object Model Reference
IE [window.]document.all.elementID
[window.]document.all.table id.tBodies[i] (IE/Win32 only)
alignNN n/a   IE 4   DOM n/a
 Read/Write
 

Defines the horizontal alignment of content within all cells contained by the TBODY element.

 
Example
document.all.myTBODY.align = "center"
 
Value
Any of the three horizontal alignment constants: center | left | right.
 
Default left
bgColorNN n/a   IE 4   DOM n/a
 Read/Write
 

Background color of the cells contained by the TBODY element. This color setting is not reflected in the style sheet backgroundColor property in Internet Explorer. Even if the BGCOLOR attribute or bgColor property is set with a plain-language color name, the returned value is always a hexadecimal triplet.

 
Example
document.all.myTBODY.bgColor = "yellow"
 
Value
A hexadecimal triplet or plain-language color name. See for acceptable plain-language color names.
 
Default Varies with browser and operating system.
vAlignNN n/a   IE 4   DOM n/a
 Read/Write
 

The manner of vertical alignment of text within the cells contained by the TBODY element.

 
Example
document.all.myTBODY.vAlign = "baseline"
 
Value
Case-insensitive constant (as a string): baseline | bottom | middle | top.
 
Default middle
rows[ ]NN n/a   IE 4   DOM n/a

An array of all rows contained by the TBODY element.

 
Syntax
document.all.myTBODY.rows(i).objectPropertyOrMethod